<?php

/* 
 * Project: colobok
 * and open the template in the editor.
 * @author: Sviatoslav Mysachenko <svyatoslavik@gmail.com>
 */

//print_r(array_merge( include_once( __DIR__ . DIRECTORY_SEPARATOR. 'main.php'), array('preload'=>array()))); die();
$main_conf = include_once( __DIR__ . DIRECTORY_SEPARATOR. 'main.php');
return array_merge( $main_conf, 
        array( // this you can reconfigure main.php configuration
                'defaultController' => 'ajax',
            
                'components'=>  array_merge($main_conf['components'],array(
                    'urlManager'=>array(
                        'urlFormat'=>'path',
                        'rules' =>array(
                            'ajax/<controller:\w+>/<action:\w+>'=>'<controller>/<action>'
                        )
                    )
                )),
             
            )
        );
//die();